home *** CD-ROM | disk | FTP | other *** search
- Path: news.tu-chemnitz.de!news
- From: hfst@hrz.tu-chemnitz.de (Hans Steffani)
- Newsgroups: comp.lang.c
- Subject: Re: REQ: Circle function?
- Date: 8 Jan 96 16:53:47 GMT
- Organization: University of Technology Chemnitz, FRG
- Message-ID: <4cri9r$1qo@pyrrhus-f.hrz.tu-chemnitz.de>
- References: <4cl6hb$him@news.doit.wisc.edu>
- NNTP-Posting-Host: prom.hrz.tu-chemnitz.de
-
- nicks@njackn.com (Nick A. Scheibel) writes:
-
- >I'm writing a small graphics lib in C for use in my programs and I
- >can't figure out how to draw a circle. Can anyone point me to some
- >source that will accomplish this rather small task for me?
- > -Nick Scheibel
-
- Start with
- x = x0 + r sin t
- y = y0 + r cos t
- with
- 0 <= t < 2 Pi
-
- to compute the koordinates of the points of the circle.
-
- h.f.s.
- --
- Hans Friedrich Steffani
- Institut fuer Elektrische Maschinen und Antriebe
- TU Chemnitz-Zwickau
- e-mail: hans.steffani@e-technik.tu-chemnitz.de
-